﻿////////////////////////////////////////////////////////////////////////
//Autor: Gabriel Tame Borao  - gabrieltame@yahoo.es 
//Fecha: 2010/09/15 01:25
//Solucion: GTameReport.sln
//Proyecto: GTameReport
//Fichero: Report.cs
//
//	Copyright (C) 2010  Gabriel Tame Borao (GTB)
//
//This program is free software: you can redistribute it and/or modify
//it under the terms of the GNU General Public License as published by
//the Free Software Foundation, either version 3 of the License, or
//(at your option) any later version.
//
//This program is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//GNU General Public License for more details.
//
//You should have received a copy of the GNU General Public License
//along with this program.  If not, see <http://www.gnu.org/licenses/>.
////////////////////////////////////////////////////////////////////////
namespace Rdl
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, DesignerCategory("code"), XmlRoot(Namespace="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition", IsNullable=false), GeneratedCode("xsd", "2.0.50727.42"), DebuggerStepThrough, XmlType(AnonymousType=true)]
    public class Report
    {
        private XmlAttribute[] anyAttrField;
        private ItemsChoiceType37[] itemsElementNameField;
        private object[] itemsField;

        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }

        [XmlElement("AutoRefresh", typeof(uint)), XmlAnyElement, XmlElement("Author", typeof(string)), XmlElement("BottomMargin", typeof(string), DataType="normalizedString"), XmlElement("PageFooter", typeof(PageHeaderFooterType)), XmlElement("Body", typeof(BodyType)), XmlElement("Code", typeof(string)), XmlElement("CodeModules", typeof(CodeModulesType)), XmlElement("CustomProperties", typeof(CustomPropertiesType)), XmlElement("DataElementName", typeof(string)), XmlElement("DataElementStyle", typeof(ReportDataElementStyle)), XmlElement("DataSchema", typeof(string)), XmlElement("DataTransform", typeof(string)), XmlElement("RightMargin", typeof(string), DataType="normalizedString"), XmlElement("Description", typeof(string)), XmlElement("DataSources", typeof(DataSourcesType)), XmlElement("EmbeddedImages", typeof(EmbeddedImagesType)), XmlElement("InteractiveHeight", typeof(string), DataType="normalizedString"), XmlElement("InteractiveWidth", typeof(string), DataType="normalizedString"), XmlElement("Language", typeof(string)), XmlElement("Classes", typeof(ClassesType)), XmlElement("PageHeight", typeof(string), DataType="normalizedString"), XmlElement("PageWidth", typeof(string), DataType="normalizedString"), XmlElement("ReportParameters", typeof(ReportParametersType)), XmlElement("DataSets", typeof(DataSetsType)), XmlElement("TopMargin", typeof(string), DataType="normalizedString"), XmlChoiceIdentifier("ItemsElementName"), XmlElement("LeftMargin", typeof(string), DataType="normalizedString"), XmlElement("PageHeader", typeof(PageHeaderFooterType)), XmlElement("Width", typeof(string), DataType="normalizedString")]
        public object[] Items
        {
            get
            {
                return this.itemsField;
            }
            set
            {
                this.itemsField = value;
            }
        }

        [XmlElement("ItemsElementName"), XmlIgnore]
        public ItemsChoiceType37[] ItemsElementName
        {
            get
            {
                return this.itemsElementNameField;
            }
            set
            {
                this.itemsElementNameField = value;
            }
        }
    }
}

